/**
 * A Troll figure. extends unit.
 * @authors Itay Sorani, Nadav Ziv, Yonathan Zarsky
 */
package com.example.models.Units;

import android.content.Context;

import com.example.models.Unit;

public class Troll extends Unit {
 
	private static final int TROLL_HIT_POINTS = 80;
	private static final float TROLL_VELOCITY = 1;
	private static final String TROLL_NAME = "Troll";
	private static final int TROLL_HEIGHT = 30;
	private static final int TROLL_WIDTH = 30;
	
	/**
     * Constructs a new Troll according to hit points, velocity, name, texture height and texture width.
     */
	public Troll(Context context) {
		super(context);
		setHitPoints(TROLL_HIT_POINTS);
		setInitialHitPoints(TROLL_HIT_POINTS);
		setVelocity(TROLL_VELOCITY / 40);
		setName(TROLL_NAME);
		setHeight(TROLL_HEIGHT);
		setWidth(TROLL_WIDTH);
	}

}
